Skip to content

fix: keep canvas media local and improve load performance - #8

Merged
erickkkyt merged 1 commit into
mainfrom
codex/local-canvas-media-performance
Aug 28, 2026
Merged

fix: keep canvas media local and improve load performance#8
erickkkyt merged 1 commit into
mainfrom
codex/local-canvas-media-performance

Conversation

@erickkkyt

Copy link
Copy Markdown
Contributor

Summary

  • keep canvas cards backed by durable local asset URLs while provider uploads remain generation-scoped
  • persist generated images, videos, and video covers into project-owned local storage
  • migrate legacy provider-hosted snapshot media with pnpm media:localize
  • render only visible React Flow nodes to remove initial canvas media pressure
  • update local-first documentation and regression coverage

Verification

  • pnpm test: 256 passed
  • pnpm typecheck: passed
  • pnpm i18n:check: passed
  • pnpm build: passed
  • pre-commit security scan: clean
  • browser refresh: zero remote BeatAPI media requests and zero Loading preview placeholders after one second

Local data boundary

The ignored data directory, SQLite database, and project media files are not included in this PR.

@erickkkyt
erickkkyt merged commit c3b8183 into main Aug 28, 2026
1 check passed
@erickkkyt
erickkkyt deleted the codex/local-canvas-media-performance branch August 28, 2026 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant